package com.ymt.bpm.service.engine.bpd;

import com.alibaba.fastjson.JSONArray;
import com.ymt.bpm.model.PBpdRef;

import java.util.List;

/**
 * Created by Johnny on 2017/4/11.
 */
public interface BpdRefService {

    int saveRefs(String tenantId, String bpdId, String versionid, String bpmn, String otherConfig);

    List<PBpdRef> parseRefs(String tenantId, String bpdId, String versionid, String bpmn, String otherConfig);

    JSONArray referencedBy(String tenantId, String bpdId, String versionid);

}
